package com.mobile.service.dto;
import com.mobile.service.dto.base.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

/**
 * 工伤保险申请表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class InjuryDeclarationQueryDTO extends PageDTO {
    @Schema(description = "主键ID - 精确查询")
    private String id;
    
    @Schema(description = "申请人姓名 - 支持模糊查询")
    private String applicantName;

    @Schema(description = "申请人身份证号 - 精确查询")
    private String applicantIdNumber;

    @Schema(description = "申请人手机号 - 支持模糊查询")
    private String applicantContactPhone;

    @Schema(description = "单位名称 - 支持模糊查询")
    private String employerName;

    @Schema(description = "申报时间 - 申报时间开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @Schema(description = "申报时间 - 申报时间结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}
